package com.tengju.bff.interfaces.covercharge.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tengju.bff.interfaces.covercharge.dto.QueryCustomDetailReqDTO;
import com.tengju.bff.interfaces.covercharge.dto.ServiceCustomDetailDTO;
import com.tengju.bff.interfaces.covercharge.entity.po.ServiceCustomDetail;
import com.tengju.bff.interfaces.covercharge.entity.vo.AdminServiceCustomQueryVo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhaoyi
 * @since 2020-02-24
 */
public interface IServiceCustomDetailService extends IService<ServiceCustomDetail> {

    Page<AdminServiceCustomQueryVo> queryPageByIdCode(Page page, String idCode, String orderId, String otherId, String des, String profitType, String startDate, String endDate);

    /**
     * 根据IDCode和表id获取客戶明細
     *
     * @param req
     */
    List<ServiceCustomDetailDTO> getListFromIdCodeAndTableIdList(QueryCustomDetailReqDTO req);

    /**
     * 根据IDCode和表id获取客戶明細
     *
     * @param req
     */
    List<ServiceCustomDetailDTO> getCustomDetailList(QueryCustomDetailReqDTO req);

}
